<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
  fetch("http://api.map.baidu.com/getcoder/geocoder?output=json&location=30.28,120.02&key=KLlEYMAeN8Fn9FlBO0hGmxh0amt5VrmV").then(res=>{
    console.log(res);
  })
</script>
</body>
</html>